<!DOCTYPE html>
<html>
<head>
	<title>客户开发计划管理</title>
	<#include "*/common.ftl">
</head>
<body class="childrenBody">
<form class="layui-form" >
	<blockquote class="layui-elem-quote quoteBox">
		<#if optValues?seq_contains("102002")>
			<form class="layui-form">
				<div class="layui-inline">
					<div class="layui-input-inline">
						<input type="text" name="customerName"
							   class="layui-input
						searchVal" placeholder="客户名" />
					</div>
					<div class="layui-input-inline">
						<input type="text" name="createMan" class="layui-input
						searchVal" placeholder="创建人" />
					</div>
					<div class="layui-input-inline">
						<select name="devResult"  id="devResult"  >
							<option value="" >开发状态</option>
							<option value="0">未开发</option>
							<option value="1" >开发中</option>
							<option value="2" >开发成功</option>
							<option value="3" >开发失败</option>
						</select>
					</div>
					<a class="layui-btn search_btn" data-type="reload"><i
								class="layui-icon">&#xe615;</i> 搜索</a>
				</div>
			</form>
		</#if>
	</blockquote>
	<table id="saleChanceList" class="layui-table"  lay-filter="saleChances"></table>


		<!--数据表头部左侧工具栏-->
		<script type="text/html" id="toolbarDemo">
			<div class="layui-btn-group">
				<button type="button" class="layui-btn layui-btn-primary layui-btn-sm" lay-event="refresh">
					<i class="layui-icon">&#xe669;</i>刷新
				</button>
			</div>
	</script>


	<!--操作-->
	<script id="op" type="text/html" >
		<#if optValues?seq_contains("102001")>
			{{# if (d.devResult=== 0 || d.devResult===1) { }}
				<a href="javascript:;"  class="layui-btn layui-btn-warm layui-btn-xs"  lay-event="dev">开发</a>
			{{# } else { }}
				<a href="javascript:;" class="layui-btn layui-btn-normal layui-btn-xs"  lay-event="info">详情</a>
			{{# } }}
		</#if>
	</script>

</form>
<script type="text/javascript" src="${ctx}/js/cusDevPlan/cus.dev.plan.js"></script>

</body>
</html>